//ex10_10_4.cpp
#ifndef SALES_H__  
#define SALES_H__
#include <iostream>

namespace SALES
{
    const int  QUARTERS = 4;
    /*
    struct Sales
    {
        double sales[QUARTERS];
        double average;
        double max;
        double min;        
    };

    void setSales(Sales &s, const double ar[], int n);
    void setSales(Sales &s);
    void showSales(const Sales &s);
    */
    class Sales
    {
        double sales[QUARTERS];
        double average;
        double max;
        double min;  
        public:
            Sales(const double ar[], int n);
            Sales();
            void showSales() const;

    };
}
#endif